import { createApp } from 'vue'
// 导入element-plus
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
// 引入中文语言包
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
// 引入i18n
import i18n from './locales/i18n'
// 引用pinia
import pinia from './stores'
// 引入路由文件
import router from './router'
import App from './App.vue'

const app = createApp(App)
app.use(ElementPlus, {
    locale: zhCn,
})
app.use(i18n)
app.use(pinia)
app.use(router)
app.mount('#app')
